import React from 'react';
import PropTypes from 'prop-types';
import {
    Text,
} from 'react-native';

const propTypes = {
    selected: PropTypes.bool,
    title: PropTypes.string,
};

const imgArray = ['addition.png', 'coordinates.png', 'emoji.png', 'homepage.png', 'like.png'];

const TabIcon = (props) => {
    return <Text
        style={{color: props.focused ? 'red' : 'black'}}
    >{props.title}
    </Text>
};

TabIcon.propTypes = propTypes;

export default TabIcon;
